// import Vue from 'vue'
// import Vuex from 'vuex'
// import user from '@/store/modules/user'
// import getters from './getters'

// Vue.use(Vuex)

// const store = new Vuex.Store({
//   modules: {
//     user
//   },
//   getters
// })

// export default store

import { createStore } from 'vuex'
import user from '@/store/modules/user'
import app from '@/store/modules/app'
import getters from './getters'

// 创建 Vuex store 实例
const store = createStore({
  modules: {
    user,
	app
  },
  getters
})

export default store